package com.qcby.mapper;

import com.qcby.entity.TUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2025-02-04
 */
public interface TUserMapper extends BaseMapper<TUser> {
    @Select("select user_id from t_user where username like #{userName}")
    public Integer selectIdFromName(String userName);
}
